var pageii = null;
var grid = null;
$(function () {
    grid = lyGrid({
        pagId: 'paging',
        l_column: [{
            colkey: "id",
            name: "ID",
        }, {
            colkey: "amount",
            name: "提现金额(元)",
            width: '120px'
        }, {
            colkey: "user_code",
            name: "提现人"
        }, {
            colkey: "bankname",
            name: "开户行"
        }, {
            colkey: "bank_card_no",
            name: "卡号"
        }, {
            colkey: "status",
            name: "提现状态"
        }, {
            colkey: "time",
            name: "提现时间"
        }],
        jsonUrl: rootPath + '/star/withdrawal/findByPage.shtml',
        dymCol: true,
        checkbox: true,
        serNumber: true
    });

    $("#search").click("click", function () {// 绑定查询按扭
        var searchParams = $("#searchForm").serializeJson();// 初始化传参数
        grid.setOptions({
            data: searchParams
        });
    });
});
